@(loginForm: Form[_])

@import helper._
@import helper.twitterBootstrap._
@import play.i18n._

@css = {
	<link rel="stylesheet" type="text/css" href="@routes.Assets.at("css/login.min.css")" />
}

@main(Messages.get("view.login.page.title"), css) {
    
    @helper.form(routes.Application.doLogin) {
    
    	@if(loginForm.hasGlobalErrors) {
    		<p class="error">
    			<span class="label label-important">@loginForm.globalError.message</span>
    		</p>
    	}
    	
    	@inputText(loginForm("email"), '_label -> Messages.get("view.login.email.label"), '_showConstraints -> false)
    	
    	@inputPassword(loginForm("password"), '_label -> Messages.get("view.login.password.label"), '_showConstraints -> false)
    	
    	<input type="submit" class="btn" value="@Messages.get("view.login.button")" />
    	
    }
    
}
